package com.sharein.auth.beans;

public class User {
	private String shareinID;
	private String password;
	private String email;
	private String fullname;
	private boolean male;
	private int age;
	private String location;
	private String photoID;
	
	public User(String shareinID, String password, String email,
			String fullname, boolean male) {
		this.shareinID = shareinID;
		this.password = password;
		this.email = email;
		this.fullname = fullname;
		this.male = male;
		age = -1;
		location = null;
		photoID = null;
	}

	public User(String shareinID, String password, String email,
			String fullname, boolean male, int age, String location,
			String photoID) {
		this.shareinID = shareinID;
		this.password = password;
		this.email = email;
		this.fullname = fullname;
		this.male = male;
		this.age = age;
		this.location = location;
		this.photoID = photoID;
	}

	public String getShareinID() {
		return shareinID;
	}

	public void setShareinID(String shareinID) {
		this.shareinID = shareinID;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public boolean isMale() {
		return male;
	}

	public void setMale(boolean male) {
		this.male = male;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getPhotoID() {
		return photoID;
	}

	public void setPhotoID(String photoID) {
		this.photoID = photoID;
	}

	@Override
	public String toString() {
		return "User [shareinID=" + shareinID + ", password=" + password
				+ ", email=" + email + ", fullname=" + fullname + ", male="
				+ male + ", age=" + age + ", location=" + location
				+ ", photoID=" + photoID + "]";
	}
}
